package com.source.springioc;

import org.springframework.beans.factory.xml.XmlBeanFactory;
import org.springframework.core.io.ClassPathResource;

/**
 * Created by tan on 2017/6/30.
 */
public class XmlBeanFactoryDemo {
	public static void main(String[] args) {
		XmlBeanFactory factory = new XmlBeanFactory(new ClassPathResource("spring.xml"));
		factory.getBean("student");
	}
}
